package com.tudouji.project.permission.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import com.tudouji.project.permission.domain.Permissiondef;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * ����ϵͳȨ��对象 salespermission
 * 
 * @author tudouji
 * @date 2021-04-23
 */
@Data
public class Salespermission
{
    private static final long serialVersionUID = 1L;

    private Long id;
    private String guid;




    private String [] guids;

    private String userguid;
    private Long userId;

    private String searchName;

    private Integer permission;

    private String srguid;

    private String departid;

    private Long deptId;

    private String departype;

    private Integer status;

    private String operatorid;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createtime;

    private Date lastupdate;

    private String realName;

    private String telphone;

    private String depName;

    private String depCode;

    //检索数据
    private int[] permis;//权限查询组

    private String depManager;

    private String depManagertel;

    private String  storeCode;

    private String storeName;

    private String permissiontext;

    private Integer type;

    private String strname;//库房名称

    private String depidnotnull;//查询标识

    private String sridnotnull;

    private String depidisnull;

    private String sridisnull;

    private Permissiondef permss;

    private String opttype;

    private String pdtype;

    private String functiontype;

    private String[] srguids;

    private String  transferType;

    private Integer flag;

    private String permscope;
    private String orgid;
    private String departname;

    private String orgName;

    private String scopeType;

    public String getDepartname() {
        return departname;
    }

    public void setDepartname(String departname) {
        this.departname = departname;
    }

    public String getOrgid() {
        return orgid;
    }

    public void setOrgid(String orgid) {
        this.orgid = orgid;
    }

    public String getPermscope() {
        return permscope;
    }

    public void setPermscope(String permscope) {
        this.permscope = permscope;
    }

    private List<Permissiondef> permissions;

    public List<Permissiondef> getPermissions() {
        return permissions;
    }

    public void setPermissions(List<Permissiondef> permissions) {
        this.permissions = permissions;
    }

    public String getTransferType() {
        return transferType;
    }

    public void setTransferType(String transferType) {
        this.transferType = transferType;
    }

    public String getDepartype() {
        return departype;
    }

    public void setDepartype(String departype) {
        this.departype = departype;
    }

    public String getFunctiontype() {
        return functiontype;
    }

    public void setFunctiontype(String functiontype) {
        this.functiontype = functiontype;
    }

    public Salespermission() {
    }

    public Salespermission(String userguid) {
        this.userguid = userguid;
    }

    public String getPdtype() {
        return pdtype;
    }

    public void setPdtype(String pdtype) {
        this.pdtype = pdtype;
    }

    public String getScopeType() {
        return scopeType;
    }

    public void setScopeType(String scopeType) {
        this.scopeType = scopeType;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String[] getGuids() {
        return guids;
    }

    public void setGuids(String[] guids) {
        this.guids = guids;
    }

    public String getStrname() {
        return strname;
    }

    public void setStrname(String strname) {
        this.strname = strname;
    }

    public String getSearchName() {
        return searchName;
    }

    public void setSearchName(String searchName) {
        this.searchName = searchName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone;
    }

    public String getDepName() {
        return depName;
    }

    public void setDepName(String depName) {
        this.depName = depName;
    }

    public String getDepCode() {
        return depCode;
    }

    public void setDepCode(String depCode) {
        this.depCode = depCode;
    }

    public String getDepManager() {
        return depManager;
    }

    public void setDepManager(String depManager) {
        this.depManager = depManager;
    }

    public String getDepManagertel() {
        return depManagertel;
    }

    public void setDepManagertel(String depManagertel) {
        this.depManagertel = depManagertel;
    }

    public String getStoreCode() {
        return storeCode;
    }

    public void setStoreCode(String storeCode) {
        this.storeCode = storeCode;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getPermissiontext() {
        return permissiontext;
    }

    public void setPermissiontext(String permissiontext) {
        this.permissiontext = permissiontext;
    }

    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }
    public String getUserguid() {
        return userguid;
    }

    public void setUserguid(String userguid) {
        this.userguid = userguid;
    }
    public Integer getPermission() {
        return permission;
    }

    public void setPermission(Integer permission) {
        this.permission = permission;
    }

    public String getSrguid() {
        return srguid;
    }

    public void setSrguid(String srguid) {
        this.srguid = srguid;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public String getOperatorid() {
        return operatorid;
    }

    public void setOperatorid(String operatorid) {
        this.operatorid = operatorid;
    }
    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
    public Date getLastupdate() {
        return lastupdate;
    }

    public void setLastupdate(Date lastupdate) {
        this.lastupdate = lastupdate;
    }

    public int[] getPermis() {
        return permis;
    }

    public void setPermis(int[] permis) {
        this.permis = permis;
    }

    public String getDepartid() {
        return departid;
    }

    public void setDepartid(String departid) {
        this.departid = departid;
    }

    public String getDepidnotnull() {
        return depidnotnull;
    }

    public void setDepidnotnull(String depidnotnull) {
        this.depidnotnull = depidnotnull;
    }

    public String getSridnotnull() {
        return sridnotnull;
    }

    public void setSridnotnull(String sridnotnull) {
        this.sridnotnull = sridnotnull;
    }

    public Permissiondef getPermss() {
        return permss;
    }

    public void setPermss(Permissiondef permss) {
        this.permss = permss;
    }

    public String getOpttype() {
        return opttype;
    }

    public void setOpttype(String opttype) {
        this.opttype = opttype;
    }

    public String[] getSrguids() {
        return srguids;
    }

    public void setSrguids(String[] srguids) {
        this.srguids = srguids;
    }


    public String getDepidisnull() {
        return depidisnull;
    }

    public void setDepidisnull(String depidisnull) {
        this.depidisnull = depidisnull;
    }

    public String getSridisnull() {
        return sridisnull;
    }

    public void setSridisnull(String sridisnull) {
        this.sridisnull = sridisnull;
    }



    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }
}
